angular.module("app",["ui.router"])
  .config(function($stateProvider,$urlRouterProvider){
    $stateProvider
    .state("shouye",{
      url:"",
      templateUrl:"html/shouye.html"
    })
    .state("shouye.jptj",{
      url:"shouye/jptj",
      templateUrl:"html/shouye/jptj.html"
    })
    .state("xiangqing",{
      url:"/xiangqing",
      templateUrl:"html/xiangqing.html"
    })
    .state("xiangqing.san",{
      url:"xiangqing/san",
      templateUrl:"html/xiangqing/san.html"
    })
    .state("xiangqing.si",{
      url:"xiangqing/si",
      templateUrl:"html/xiangqing/si.html"
    })
    .state("shouye.scgl",{
      url:"shouye/scgl",
      templateUrl:"html/shouye/scgl.html"
    })
    .state("fenlei",{
      url:"/fenlei",
      templateUrl:"html/fenlei.html"
    })
    .state("xiangqing1",{
      url:"/xiangqing1",
      templateUrl:"html/xiangqing1.html"
    })
    .state("xiangqing1.wu",{
      url:"xiangqing1/wu",
      templateUrl:"html/xiangqing1/wu.html"
    })
    .state("xiangqing1.liu",{
      url:"xiangqing1/liu",
      templateUrl:"html/xiangqing1/liu.html"
    })
    .state("xiangqing1.qi",{
      url:"xiangqing1/qi",
      templateUrl:"html/xiangqing1/qi.html"
    })
    .state("wo",{
      url:"/wo",
      templateUrl:"html/wo.html"
    })
    .state("shezhi",{
      url:"/shezhi",
      templateUrl:"html/shezhi.html"
    })
    .state("wo.yi",{
      url:"wo/yi",
      templateUrl:"html/wo/yi.html"
    })
    .state("wo.er",{
      url:"wo/er",
      templateUrl:"html/wo/er.html"
    })
//  $urlRouterProvider.otherwise("shouye.jptj")
  })
